<% include ../layout/header %>
<div id='main'>
  <div id='sidebar'>
  <div class='panel'>
    <div class='header'>
      <span class='col_fade'>关于</span>
    </div>
    <div class='inner'>
      <p>CNode：Node.js专业中文社区</p>

      <p>在这里你可以：</p>
      <ul>
        <li>向别人提出你遇到的问题</li>
        <li>帮助遇到问题的人</li>
        <li>分享自己的知识</li>
        <li>和其它人一起进步</li>
      </ul>
    </div>
  </div>
</div>	
<div id='content'>
  <div class='panel'>
    <div class='header'>
      <ul class='breadcrumb'>
        <li><a href='/'>主页</a><span class='divider'>/</span></li>
        <li class='active'>登录</li>
      </ul>
    </div>
    <div class='inner'>
      <!-- 错误信息验证 -->
      <% if(errMsg.length){ %>
        <div class="alert alert-danger fade in">
          <button class="close" data-dismiss="alert"><span>&times;</span></button>
          <%= errMsg.toString() %>
        </div>
      <% } %>
      
      
      <form id='signin_form' class='form-horizontal' action='/user/doLogin' method='post'>
        <div class='control-group'>
          <label class='control-label' for='name'>用户名</label>

          <div class='controls'>
            <input class='input-xlarge' required id='name' name='username' size='30' type='text'/>
          </div>
        </div>
        <div class='control-group'>
          <label class='control-label' for='pass'>密码</label>

          <div class='controls'>
            <input class='input-xlarge' required id='pass' name='userpwd' size='30' type='password'/>
          </div>
        </div>

        <div class='form-actions'>
          <input type='submit' class='span-primary' value='登录'/>
          <a id="forgot_password" style="color:blue;" href='/user/reg'>注册新账户</a>
        </div>
      </form>
    </div>
  </div>
</div>

</div>

<% include ../layout/footer %>